Skip to content

Add a cli flag for running as an integration#412

Open
DamianZaremba wants to merge 1 commit intopyupio:masterfrom
DamianZaremba:support-enabling-integration
Open

Add a cli flag for running as an integration#412
DamianZaremba wants to merge 1 commit intopyupio:masterfrom
DamianZaremba:support-enabling-integration

Conversation

@DamianZaremba
Copy link
Copy Markdown

Currently there is no way to enable the integration flag which the
providers uses to filter out some actions.

It is possible to run the bot using an oauth app e.g. via github
actions, however it will fail due to having no access to endpoints such
as /user/emails.

With this PR supplying the --integration will enable restricted tokens
to function as expected.

Fixed #411

Currently there is no way to enable the `integration` flag which the
providers uses to filter out some actions.

It is possible to run the bot using an oauth app e.g. via github
actions, however it will fail due to having no access to endpoints such
as /user/emails.

With this PR supplying the `--integration` will enable restricted tokens
to function as expected.
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 24, 2021

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.98%. Comparing base (17c2384) to head (81181e5).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #412      +/-   ##
==========================================
- Coverage   94.24%   93.98%   -0.26%     
==========================================
  Files          11       11              
  Lines        1164     1114      -50     
==========================================
- Hits         1097     1047      -50     
  Misses         67       67              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DamianZaremba
Copy link
Copy Markdown
Author

Test failures will be fixed by #410

@luischapis
Copy link
Copy Markdown

Tenkiu

Copy link
Copy Markdown

@luischapis luischapis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for running under GitHub apps

2 participants